package cn.edu.scau.cmi.duzefeng.factory.abstractfactory.model;

import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.CarDamageInsurance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.DriversDamageInsurance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.MultiDamageInsurance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.PICCCarDamageInsutance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.PICCDriversDamageInsurance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.PICCMultiDamageInsurance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.PICCSomebodyDieSimpleInsurance;
import cn.edu.scau.cmi.duzefeng.factory.abstractfactory.insurance.SomebodyDieSimpleInsurance;

public class PICCFactory extends AbstractFactory {

	@Override
	public CarDamageInsurance getCarDamageInsurance() {
		
		return new PICCCarDamageInsutance();
	}

	@Override
	public DriversDamageInsurance getDriversDamageInsurance() {
	
		return new PICCDriversDamageInsurance();
	}

	@Override
	public MultiDamageInsurance getMultiDamageInsurance() {
	
		return new PICCMultiDamageInsurance();
	}

	@Override
	public SomebodyDieSimpleInsurance getSomebodyDieSimpleInsurance() {

		return new PICCSomebodyDieSimpleInsurance();
	}

}
